SONAR-5186 Fix validation when property is set from command line