Minor cleanup of glob iterator