Check last time 'apt-get update' was executed function