lib: internal: worker: packages: __fill_actions: fixed possible crash on purging a package with no available versions

This regression was introduced in the commit 'ca95cd78'.