Return invalid when repo not found for mapping

Return invalid error when attempting to create an ImageRepositoryMapping
and the specified ImageRepository can't be found.