Add check for null problems object

Spenser Shumaker <sshumake@redhat.com>