Fixed a "new FedoraObject" call that used a non-existent $rest_connection.