Added idempotency check

Checks name of package, then bundle id + version to see if there's a
match.