Put safeguards in place to keep non-existent directories from being added to sys.path and updated the CQ module to match the latest version.