"kpm pack" shows warnings when dependencies are missing

parent #544 

Strictly followed instructions from parent issue #544 . If there are missing dependencies, we output warning and keep working. So it does the same amount of work as previous implementation. `kpm pack` exits with exit code `-1` when there are missing dependencies.