Correct pending in GetOSType when sshkey is incorrect

If sshkey provided is incorrect, GetOSType from OSAbstractions.ps1 will pending at inputting password. This will cause hung in SystemUp State. So pipe some input to workaround, and such input won't affect return from plink.