Revert "check that release repository is not None"

This reverts commit b8ac7d52828d905786bc17d9b8ea846ac24064b6.