improve untar when using files instead of directories. Specifies behavior on non-existant targets.

Docker-DCO-1.1-Signed-off-by: Tibor Vass <teabee89@gmail.com> (github: tiborvass)