simplify imageExists parameter marshalling