Changed to use FedoraInvalidNamespaceException instead of
RepositoryException as suggested.