Extract mount point merging logic into separate function

Other functions may need to use this logic at a later date (I know I'm certainly thinking of doing so), and this should help raise the status of `addMountPoint` in Scrutinizer from F.