Make sure renderOpts is available before checking (#8734)
Make sure renderOpts is available before checking (#8734)

* Make sure renderOpts is available before checking

* Apply suggestions from code review

Co-Authored-By: Joe Haddad <9a59834641c3efaef8f42337ff0c7967b38f1c43@zeit.co>

* Update check

flybayer/next.js,JeromeFitz/next.js,BlancheXu/test,BlancheXu/test,azukaru/next.js,BlancheXu/test,JeromeFitz/next.js,zeit/next.js,zeit/next.js,flybayer/next.js,azukaru/next.js,azukaru/next.js,JeromeFitz/next.js,zeit/next.js,flybayer/next.js,azukaru/next.js,flybayer/next.js,JeromeFitz/next.js