Fix typo in dependency checking.