refactor 'github_repository' refs #669