handle empty/. source dirs