Fixed null-pointer when dealing with Panther.path()