After a certain PR was merged, Citra won't open with gamepad pluged in

#1

And namely - https://github.com/citra-emu/citra/pull/4257
I need to disable it first, then launch citra, then enable it again for it to work. Which is quite a pain. It is visible in the Task Manager though, but nothing more.
Win 7 64
gamepad: logitech F310

#2

In order for us to provide better support, we need to see the log generated by Citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File.