fix if/else case for vagrant sudo directive.
pg_hba: set correct IP range when in a vagrant host