Added defun fo filterin non existing dirs from PATH