[nobug] hotfix to prevent publish.js from bringing down the process over a reference error