skip empty strings when splitting paths in the environment