[MRM-1451] NPE when merging through XMLRPC * applied patch Patch Submitted by: Maria Catherine Tan * passed metadataRepository instead of null during merge