add a builtin finish stage, push directory cache on this stage