available.packages() didn't work in non-interactive session