prevent failure when module does not have a data field
Merge pull request #1682 from mulby/gabe/fix-get-items-without-data

prevent failure when module does not have a data field