Hello Tim,
I was not aware of the old behaviour you describe but I can assure you that the behaviour you describe for Moodle 2.7 is the same since several years.
By the way I know you say you can't upgrade but I must underline that 2.7 is out of support except for security bugs, so even if you find a bug in lesson, I will not be able to fix it for your Moodle version
The "end of lesson"" page (in fact it's not a real "page", there is no record for it in the database) has a very special role and a lot of things happens in the background when the student reach it:
- the grade is updated in the gradebook
- activity completion is updated
- the timer is stopped and there is a check to see if the student ran out of time
- ...
So no it is not possible to bypass this page.
Of course you can create a new issue in the tracker so that we introduce a new option and modify the code so that teachers can select to not show this page, in that case, all the previous actions would be done and then rather than displaying something, the code would redirect the user to the course page. But I must underline that as this is an API change, it could only be done for Moodle 3.0 or later and could not been backported to previous versions.
Also internally the value of each jump is stored as a constant (for instance end of lesson is -9) so obviously if we want to store a url here it would need a rewrite of all the lesson code for jumps. This is unlikely to happen.
The only way to link to an arbitrary page is to include a link in one of your lesson page's content
About the "end of lesson" page, it has already been suggested that teachers should be able to customize it (for instance the "Congratulations ... " message is not suitable for all lessons), see MDL-45657, my concern is on how to do that without adding more lesson's settings because I think the lesson has already too much settings and that is a big problem for teachers when creating lessons