Get deps before calling restore?

Signed-off-by: Byron Ruth <b@devel.io>