Fix sharing option

by calling the right object (ami_cp) and don't forget sharing the snapshot too.