Use checkDepends instead of sudo when installing plugins