Prevent iteration past end() for empty SysPath.