fix for empty .e12pack

check if .e12pack is empty