Fix `undefined` on absolute resources
Merge pull request #21 from JSteunou/issue-18

Fix `undefined` on absolute resources