Ensure passwd is a string if defined