Issue 978 - Make sure to add dependencies to artifacts that are loaded from the cookbook store

See comments in Issue 978