Fixed NPE when browser requests favicon.ico