Resolve absolute paths correctly

Fixes issue #62