Fixed conditional artifacts signing.