add check to prevent bad containerInfo

Fixes #287 - although there are still valid points brought up there
that are unaddressed.