When the subdir module is enabled and subdirs are used, the template
that generates sites.php has a logic bug that causes it to unset()
aliases which are not subdir aliases. This patch checks each alias
before deciding whether to munge and unset it, thereby eliminating
the underlying bug.
Signed-off-by: Christopher Gervais <firstname.lastname@example.org>