Fix detection of Dir Structure outside of roles

Possible fix for wrong parameters to glob and map.