Check for existence of modes which may not exist under nox

Fixes #21