External CSS security fail fix

Fix for the bug which was failing the whole thing when the script was
trying to access stylesheets hosted on external domains.