Fix possible issues in skin/skin_path config handling (#1490125)