fixing typo (realpath instead of relpath)