Fix bug 1020954 - Don't crash when URL is a 404