Use the proper naming for various repository attributes

Uncovered a subtle bug. See commit messages for details.

/cc @opscode/release-engineers