provision/docker/stubs_test: removing debug print
provision/docker/flatten: also removing unflattened image from registry

This avoids errors when tsuru tries to push the flattened image to the
registry.

Relates to #513