Fix some error message reporting
Use the root_dir in the activate tests for the syspath