Thanks for the report, this is interesting to try in the cpan shell directly:
cpan[6]> install Task::BDFOY
Running install for module 'Task::BDFOY'
[...]
The module App::scriptdist isn't available on CPAN.
Either the module has not yet been uploaded to CPAN, or it is
temporary unavailable. Please contact the author to find out
more about the status. Try 'i App::scriptdist'.
Deep recursion on subroutine "CPAN::Bundle::undelay" at /home/sand/src/perl/repoperls/installed-perls/host/k93jessie/v5.25.11/2397/lib/5.25.11/CPAN/Bundle.pm line 24.
^CSignal SIGINT received, but no signal handler set.
Doing the same in the debugger leads to a halt:
997 levels deep in subroutine calls!
Not yet sure where to fix this.