Unless I'm missing something, the yarn-standalone case is handled in the else block.