Merge pull request #237 from aplanas/master

In select command, if the fprj and target_project are the same, do not s...
make directory first, needed for lock file
Merge pull request #238 from lnussel/master

make directory first, needed for lock file