Had the same issue in 5.4.4.
(I expected it to save either in Engine\Saved\UnrealBuildTool\BuildConfiguration.xml or Engine\Saved\Config\WindowsEditor\SourceControlSettings.ini but that doesn’t seem to be the case).
Anyway relaunching the editor again seemed to have fixed it.