Fix NRE in VersionControlService when loaded outside MD