You can put the hose on with the nipple straight up, and then thread it through the hole towards the front of the bike. It will be a tight fit to get the nipple back down to it's proper position, but it can go, especially if you're using a flexible clear fuel line.
If you're using big thick black fuel line, you might try needle-nose pliers to get it down onto the nipple.