fix potential warnings with lspv output

See resources/aix/lspv/aix-6.1-hdisk1 for an example of output with
undefined values.

see: #2384
allow easier parameters override, for testing
prevent warning for malformed group file

see: #2384
prevent potential warning with lspv output

And simplifiy parsing by using getFirstMatch() function.

see: #2384