Fix travis CI build failure issue caused by already installed postgresql pkg