snapshot: clonetree: skip glob-expanded dirs
snapshot: clonetree: skip glob-expanded dirs

The intended usage of the copyFileTreeInto function
is to expand glob patterns into a list of files.
If directories get included here is accidental, and
we must skip them gracefully.

If the client code was to clone directories,
it must create the hierarchy explicitely (e.g. os.MkdirAll)

Signed-off-by: Francesco Romani <c7100b580e6017ef67482ace46578cdd2d2e0dfe@redhat.com>

jaypipes/ghw,jaypipes/ghw