* Replace rootdir with rootpath * Add try/except to handle older pytest versions as well * Extract try/except to a function and use in `pytest_runtest_makereport`
* Replace rootdir with rootpath * Add try/except to handle older pytest versions as well * Extract try/except to a function and use in `pytest_runtest_makereport`