Make cdpath expand properly