distinguish more precisely between directories and collections when trying to read properties
distinguish more precisely between directories and collections when trying to read properties

also improved coding style by trading single method exit for shallow nesting

ZeitOnline/zeit.connector