Accept `pathlib.Path` objects as software URL in tests.
`Path` objects are immediately converted to a string. This can only be done easily in tests for now, as slapos.core has to still support Python 2 users in other parts of the code, and `os.fspath` was added in Python 3.6. See merge request !686