Checking auth for repository regex, if local then a private repository may not be specified.
Merge pull request #147 from theopolis/edit_repository

repository not present in authorization header for standalone registry