Fixed access to app repositories from tests.