Return empty string if message wasn't set, instead of undefined

As the title says :)