Handle the 'require' option like mocha CLI does