Finding the root of the orly source tree isn't what you want here. In your case the root is always the directory you put the src file in currently.