ipmi plugin: Fixing stuff from @octo's code review

- Limiting the scope of default_name, aliased_name and ignore_selected
  by moving them to the code blocks where they are used.

- Freeing default_name after ignorelist_add() because it duplicates the
  given string.