Relative path getter & macro