TPRV placement

This really seems like an improper placement of the TPRV. Clearly it needs an extension pipe. Can someone with a thorough knowledge of boiler systems comment on this?