Fix vendor_script not found

Fixs #727 
Note that this issue only happens when you are using `master` contacts and `stable7` ownCloud.