Exception handling if dependency is not found