add a try except loop to test for the existance of a code signing certificate. Build the dmg without signing if necessary