Fixes to damage caused by RubyMine remapping metadata directory within mdtranslator