Fix problem checking missing dependencies