fix depends_on :formula backend

closes #6158