Hopefully restore perl5.10 compatibility

The suite was passing hasrefs to `keys', which is only supported in
5.14+.  So let's dereference them.

Signed-off-by: Petr Šabata <contyk@redhat.com>