I would say that that metal box isn't going to last long the way that it is installed.
Air-borne moisture will see to that.
That bend (if you can call it that) is a real beauty.
Exactly what sort of a saddle is that in the bottom picture?.
I'd have to go along with Reno here on the "surface-mounting" issue, we have a lot of exact same sensor-light units here that merely screw to the soffit of the house (into timber, of course).
One other thing, has the sensor unit on this fitting been mounted upside-down?
Reason I say that, is because the Time/Lux controls should be pointing downward, or is the black thing on the sensor there a slide switch?