made getPath consistent with getDot - only evaluate while searching the
path - not at the last dereference