Issue #842216 by Devin Carlson, valthebald | jhodgdon: Remove $installed_profile global variable left over from D6.