Do not attempt to load $2 if only inspecting

On Mavericks command line, the following would happen:
 ./ipa_sign -i File.ipa
./ipa_sign: line 50: $2: unbound variable
After moving the line:
PROVISION="$(realpath "$2")"
Into the if statement , it works again