Fixes to "Create Package Declaration".
1. Corrected escaping issue.
2. Fixed regex that determines the default directory to stop at (e.g. src, tst).