How does mothership cloak behave while being revealed?
Solution 1:
If your Mothership is cloaking your buildings while you are being revealed they will not be able to see them if they hover over the buildings. They will, however, be able to see them on the mini-map. This way they still won't be able to attack the building while you are being revealed.
EDIT: Without detection that is. They won't be able to attack your buildings without Detection.