Fixes to metadata updates following rebranding and metadata format changed for revision numbers
Fix to sub model export to actually check out before exporting