ignore empty strings in gempath.