Remove absolute paths from ApiConsumer calls