refactoring and bugfixes
showing error message if trying to sign a build without keystore file