Change the way the git branch is checked in src/CMakeList.txt
Change the way the git branch is checked in src/CMakeList.txt

Also, change the logic by checking master and if it is not then
choose develop by default.

JPETTomography/j-pet-framework,JPETTomography/j-pet-framework,JPETTomography/j-pet-framework