Add step to ensure factory dir exists.