Test for megaraid device symbols being :undefined

When running without megaraid devices puppet throws an error about being unable
to split on :undefined:Symbol so we should test if its undefined and not attempt
the split