Fix push issues, when using a registry.

In the 0.9.11 and docker 1.3.0 the push doesn't work if we are trying to push to a local registry. 

What seems to be missing is the registry as a prefix to the repository. This pull request fixes this problem.