Also remove empty entries in path list