Using teflon tape on hydraulic systems with spool valves is a no-no but we have all done it at times i'm sure. I make sure to start the tape to the rear more so the front leading edge of the pipe threads is clean so any excess tape can't break loose and go thru the system. We have run into certain hydraulic leaks were we had to use the tape to stop it on CNC machines.
Use caution too when using loctite on the hydraulics too I do the samething and put it a few threads back so none is exposed when i screw the threads in.
If you have a stripped allen hex you can pein it over to close it up and drive the allen wrench into it to swage another new hex into the plug or bolt. I use a ball pein hammer in the open spots or a flat nosed punch in the tighter spots.