McGregor burglar arrested after being caught in the act