Changed funcByName such that it works with the latest commit on python-joern.