minor fix for Open-PSBuildLog when -logindex is passed in