Fix double choice of CRAN mirror + error when installing packages (cannot use type and available)