Can't locate (Chapter 2)

This is a fresh install Debian 9/Virtualmin. Please go to Webmin section then Networking. Click on "Virtualmin Domain Registration" link. I assume you already fixed this page to load its content with this solution:

Now click on "List all registered domains" link. The loaded page will show this error message:

Error - Perl execution failed
Can't locate in @INC (@INC contains: /usr/share/webmin /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/webmin/virtualmin-registrar/list.cgi line 9.

File list.cgi exists on server at this location /usr/share/webmin/virtualmin-registrar/list.cgi.

I suggest in line 9 adding a ./ in front of Here you go:

require './';