Improve coverage of docker_registry.lib

"Changed in version 2.7: The positional argument specifiers can be omitted, so '{} {}' is equivalent to '{0} {1}'."

https://docs.python.org/2/library/string.html#formatstrings