Now cleans up empty resource folders so they aren't included in the package