[MRM-1390] Make repositoryId optional in getArtifactsByMetadata REST method