Fix sourcing defaults
Fix nasty bug with empty directory creation

If there are no files within a directory the SOURCE value will equal the
value passed to the function.