William MacFarlane was found with the weapons inside Perth Prison after a jury found him guilty of kicking a woman's "head and body like a football".