David Ramshaw, who has a previous conviction for carrying a weapon, claimed he'd forgotten the blade was in his pocket after helping his friend lay a carpet