Well spotted.  This form gives the correct semantics if the variable is not set, or is set to an empty string, avoiding an empty component in the paths in that case.  For PATH that is probably less relevant than in the other two cases, since it should never be empty.