Add condition to determine if extra %s is required for passing the tgt parameter (when not blank).