Monkeypatch for fullpath not defined in 2.2.x