fix: fix the install dependencies function not returning the return code of the install command