deploy: Simplified if condition