Validate that working directory is not empty.