Ensure tech is defined before checking tech.isReady_ fixes #631