Merging a plist which contained UIBackgroundModes or UISupportedInterfaceOrientations keys could result in these keys being duplicated in the generated plist. This patch will avoid adding a new array if the array's key already exists in the plist.