Fix gradle build failures when no signing nor ossrh properties are defined