Refactors the asset queueing helpers so that distribution packages still work when Omeka is in development mode.