Bug fixes to irods repo support