Easy peasy. The nipple is on the underneath of the solid plastic duct . Look in the far top left of your second pic, theres a 2" (or so) hose, orienteted vertically thats attached to that upper 4" pipe. There are three nipples there, on the underneath, facing down. There's that big one (Compressor bypass) and two smaller ones. One small one goes to a TCV solenoid thats attached to the outside of the gearbox, and the other one belongs to the hose that dropped off.
It should still idle OK with that hose missing, so you might have a misfire. If you havent already, you will want to check all of the piping connections to make sure they are OK.
'04 XC90 2.5T AWD (Angus) 134K.
'99 S80 T6 (Medusa) 214k. On borrowed time LOL
'98 V70 T5 (Vivienne). RIP @ 228K. Spun rod bearings.