to reproduce, create a Multibranch pipeline setup for Jenkinsfile:
Jenkins/application/Jenkinsfile
and create the below file in a branch on the repo
Jenkins/application
scan again - scan will fail