Fix evaluatePath to allow falsy values