Fix condition on optional Referer header
Merge pull request #2 from jeromelebleu/master

Fix condition on optional Referer header