fixed hasRepeat bug

The gsl property class.hasRepeat would fail if the last processed field has no repeat attribute.