Decided to move the 'if' logic together with the error message, as this leaves the _importconftest method cleaner.