RNA warning on EnumProperty
I avoid this problem by filling one value in the list which I call e.g. ('NONE','','Use this when theres nothing for the list') This way I can detect if the list should actually be drawn in the UI or used.