bugfix with requirejs filter

This fixes the bug discussed [here](https://github.com/miracle2k/webassets/pull/290). I also changed `self.run_in_debug is False` to `not self.run_in_debug` since the first will evaluate to `False` when `self.run_in_debug` is `None`.