Fix TypeError when RuntimeError about missing !archcheck is thrown
FAILED testcases/test_device.py::test_aports_device - TypeError: can only concatenate str (not "PosixPath") to str