Check if icon path is empty before testing if the file exists