Exclude nested directories as well

This commit also moves the +exclusions+ method to the base packager