Local man jailed for robbing store armed with a knife