We're just taught that after нет or a negation, use the genetive.