minor improvements to 'checkdeps'