Fix handling of errorneous resource attribute
Merge branch 'next' of github.com:jeanparpaillon/erocci into next