will clean a path variable of empty entries, ie ::