A Scots riding school has recovered two ponies reportedly stolen by two schoolgirls and ditched in a shed five miles away.