Fix reference type-checking to check for HASH instead of ARRAY.

I'm relatively sure that this is what was meant.

Doesn't fix any video downloaders, but gets me from a bogus error to a real
error on Mtvnservices. (Why is Mtvnservices always busted?) :c
Merge pull request #99 from MostAwesomeDude/master

Fix bogus type check to look for the correct type.