Fixed NPE in run-apacheds integration test. Integration test runs but fails now.