fix traceback when poolstash is empty
Merge pull request #777 from candlepin/ckozak/fix_allsubs_trace

fix traceback when poolstash is empty