Seems one way to solve this is to force $Installs to be an array, even if only one element is contained within it.
$Installs
Using [array]$Installs =
[array]$Installs =