Akhilesh,
There is no skip build if AMI already exist. Packer validates the name of the AMI (as defined in ami_name) before initiating the creation step. If it finds an existing AMI with the same name it will error indicating that the name is already in use by an existing AMI.
AMI names must be unique so prevalidation is always performed unless one of the following configuration parameters are set "force_deregister" or "skip_build_region", which skips the AMI name validation step.
Are you seeing a different behavior? If so, you may want to check if the build configuration contains any of the two parameters that would cause the build to skip the validation step. Or if there are any slight variations in the digest being used for the AMI names.
Wilken