Checks the emptiness of egressLabelString properly

Change-Id: I9a524f4d714ff796c3f2aa8dc4355d1c4c093c9b
diff --git a/cli/src/main/java/org/onosproject/cli/net/AddMplsIntent.java b/cli/src/main/java/org/onosproject/cli/net/AddMplsIntent.java
index 0983aff..1929b72 100644
--- a/cli/src/main/java/org/onosproject/cli/net/AddMplsIntent.java
+++ b/cli/src/main/java/org/onosproject/cli/net/AddMplsIntent.java
@@ -56,9 +56,8 @@
         }
 
         ConnectPoint egress = ConnectPoint.deviceConnectPoint(egressDeviceString);
-
         Optional<MplsLabel> egressLabel = Optional.empty();
-        if (!ingressLabelString.isEmpty()) {
+        if (!egressLabelString.isEmpty()) {
             egressLabel = Optional
                     .ofNullable(MplsLabel.mplsLabel(parseInt(egressLabelString)));
         }