petra: fix an garrison/ungarrison loop due to rP19547
Reviewed By: Sandarac
Differential Revision: https://code.wildfiregames.com/D579