Restore app root to path

Apparently some implementation details still depend on it.