Issue #338 should be fixed now, '*' gets expanded to itself if no other expansion could be made, fixed by adding nullglob before loop