Fixing Get-TargetResource

TargetResource contains an error that error message contains the wrong message. if/else branch contains error in AppPools is singlular (instead of multiple) which means if it actually contains 1 it skips it.