Fixed issue where ng metadata save went into the wrong dir.