Fixes #833 by making sure item.matcher is defined when testing media helpers

Simple fix for #833: test to make sure item.matcher is of any use, otherwise ignore the current item.