Added feature to automatically refresh package meta if ttl expired.

There are no test cases specific to this new feature. Maybe someone with buster knowledge could assist?