Avoid trying to load custom palette if path is NULL