Revert getQueue function to pull only files that have not been synced
Restore behavior for getQueue when messages are present, or user has tried to run this on an origin pull CDN