Attempted fix for ignoring pydev additional paths.
Attempted fix to ignore headless runs.