#2737: deps.unlock should warn when given missing dependency

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
Merge pull request #2741 from styx/master

Fixes #2737