This commit handles the case where the list of buckets is empty on the listObjects function of actions.js Fixes #5267