Replaced a wall light with a brand new 400w metal halide wall pack on an old hotel for a customer.

Upon energizing to test it, the lamp would not light. While trouble shooting, it turns out that when only the ground wire was disconnected, the lamp would light. Of course, when the ground was connected, the bulb would go out.

Any ideas?