Properly parse layer name source setting