Better path getter