functions: update repo after adding a new repo

After adding a new repository, it's very useful to refresh the packages
list.

i.e. run apt-get update after adding OpenStack repository

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>