install dependencies when HEAD_DEPS is empty

should fix bug introduced in my last commit