I think you read it aright. It's more likely that a fly will knock her down than a man will succeed in getting to her.
See thread 4850: Tibbie
The song predates Burns. See thread 50687; a bee instead of a fly: Tibbie
A link in the second thread leads to the version in Henry's Songbook.