Merge pull request #1074 from timmc/master

Bugfix: Restrict repo credential lookup to known keys.