Improve coverage of docker_registry.lib.layers module.

Not familiar with that piece of code, but why would `"/" + filename[5:]` necessarily start with `/.wh.`?