fix for handling absolute directories
Merge pull request #3 from DorianGray/master

Fix for handling absolute directories (Close #2)