Account for application mount point when calculating activity link