check that release_repository is not None