Fix applications_dependencies/0 so that duplicates do not exist, to prevent problems with application_stop/1.