On the right nucleus of Petit algebras