Fixed require.paths handling
Merge pull request #2 from KnisterPeter/master

Fixed require.paths handling