Re 1278 Avoid NPE when edm:type is missing