Yeah, do not leave the pump wiring like that. That black could pop loose and run up against the red and then you've got a classic powered short circuit and maybe sparks in your tank.

Also, you can use flexible fuel line for the entire run. Safer and more OEM is to run the hard line for most of the length of the car, adapting to flex at the engine and at the tank. Some states may have something to say about all flex line... but maybe not. Have to check on that.