When passed to lookup_icon includes builtin icons as well as files.
For a builtin icon, get_filename is null and you need to call get_builtin_pixbuf.