[GEOT-4957] NPE in Attribution parsing (Backport on 11.x)

Please look at the following JIRA: https://jira.codehaus.org/browse/GEOT-4957. Backport on 11.x branch.