Use default target only when target and config path are nil