Adding functional test to verify that KuduScript fails when package
restore fails.
Fixes #765