If you are a developer, please build MegaGlest on your own and get in touch to contribute (or post your patches on the forums).
Workers can repair building without resources - I think it is a bug. In all other games (Starcraft, StrongHold etc) you need resources to repair things.