Fixed unless check for Nginx repo add.