fix for MachineImageServiceTests.testList and MachineImageServiceTests.testListByAccountId

looks like it was broken after merging