Fix ndk-gdb.py failure on missing directory.

This change fixes a list comprehension call that generates an
exception when the PYPRPR_GNUSTDCXX_BASE directory does not exist.

Change-Id: Icb5c9258b9960bc09cda167137f585225ba239db
diff --git a/ndk-gdb.py b/ndk-gdb.py
index 5f3b35b..37a3073 100755
--- a/ndk-gdb.py
+++ b/ndk-gdb.py
@@ -215,9 +215,12 @@
                          help='Do not wait for debugger to attach (may miss early JNI breakpoints)',
                          action='store_true', dest='nowait')
 
-    stdcxx_pypr_versions = [ 'gnustdcxx'+d.replace('gcc','')
-                             for d in os.listdir(PYPRPR_GNUSTDCXX_BASE)
-                             if os.path.isdir(os.path.join(PYPRPR_GNUSTDCXX_BASE, d)) ]
+    if os.path.isdir(PYPRPR_GNUSTDCXX_BASE):
+        stdcxx_pypr_versions = [ 'gnustdcxx'+d.replace('gcc','')
+                                 for d in os.listdir(PYPRPR_GNUSTDCXX_BASE)
+                                 if os.path.isdir(os.path.join(PYPRPR_GNUSTDCXX_BASE, d)) ]
+    else:
+        stdcxx_pypr_versions = []
 
     parser.add_argument( '--stdcxx-py-pr',
                          help='Specify stdcxx python pretty-printer',