fixes a bug in how require handles negations

/cc @densh