with every connection you undo on the fuel pump you are going to get some leakage , its not a lot and will stop to a drip.
As Mike says just use a cloth under each connection to soak up the fuel , if you ca try to keep the black rubber hose upright , so not so much fuel comes out.
once the pressure is relieved its only a trickle anyway.
1 quick note dont get too paranoid after refitting if you smell fuel , its probably just some that you missed with the cloth , start the car and let it idle for a few good minutes and finger wipe each joint checking for leaks.