Initialize variables to empty string

Set mode, group, etc. to an empty string to ensure that no external
environment variables can leak in.