Temporary changing directory to load unmanaged references correctly (MP2-285)