A man caught by police walking through Nelson town centre with a machete tucked in his waistband said he had bought it to do some gardening.