prepare: Don't verify dependencies in a subshell

Otherwise errors don't get propagated.