fixing conditional nginx repo addition