Fix problem to catch NoMethodError from non receiver object

Problem case: https://github.com/follmann/middleman-favicon-maker/issues/22#issuecomment-34058515