The test needs to be executed as root to pass.
`os.getcwd()` might thrown an `OSError` if it was deleted or moved.

Let's not fail because of that.