.
Was that bracket loose on the hose? If it is not loose where you found it, take a picture with the location in the center of the picture is (back a bit) where it came from so ppl know whereabouts to look for a bolt or screw where it was originally mounted (I've been under my XF hood but never seen that unless bases on the angle of the bracket it is partially covered by something else under the hood). There is quite a number of feet of hose there under the hood...

Once we can know a narrowed down location (hence where it loose/tight on the hose), we might be able to assist where it belongs (closer area to look for it's mounting point).
.