Surely if it needs to be done in space in FLHook, then it would be possible to have it run during the cutscene where the player HUD vanishes off-screen, but before the base is loaded?
This way it's done before the player gets to the base screens and won't be thinking "Oh, best repair up..." forgetting that autorepair is on.