Fixing 'local_dependencies_unset' task (reverting 396984dc35748db1897e9448046f7880c2bbcda2 - cc @segiddins)