Better workaround to allow publish-local to work