don't need to run get-deps twice
fix conditional