[TASK] Use absRefPrefix of current page object

Proposed code by @danilobuerger. Fixes #368.