Fixes resolving of relative paths

Resolves #70