Use -z to test for empty string