Fix bug with connection string generator

null coalescing operator for connection string "datasource" was causing
an incorrect connection string to be made (datasource would always be an
empty string). Changed to an if statement to use string.IsNullOrEmpty
function