1145719 - Puppet directory import now respects the 'remove_missing' configuration setting

https://bugzilla.redhat.com/show_bug.cgi?id=1145719
You should move this list comprehension to be outside the loop so that it doesn't happen for each unit.