Raise an error if repository is blank