Check if favicon is not NULL

Signed-off-by: Umair Khan <omerjerk@gmail.com>