Small bugfix, not recognising the repo_name in if statement