Dereference potential linked launch.sh file
It can be useful to have launch.sh linked somewhere outside the repository clone. For instance to expose launch.sh in the $PATH. Exposing launch.sh with a symbolic link outside the git repository breaks poezio execution through launch.sh. “ cd dirname "$0" ” will get to the directory holding the link and not within the git repository.