Fixes path loading issues for integration tests.