A former Caulfield Cup winning jockey has avoided conviction for his role in a botched attempted burglary.