We need test cases to cover bitbake modes like 'bitbake -n' (dry run) and 'bitbake -e'. For some reason some of these modes are not covered by test cases. Bug 5367 showed up at the end of 1.5 and we could have possibly detected it sooner by having such test cases.
New test cases for bitbake modes (-e -n -p -r -R -c -k) were added in commit 7279de72c62dccc326551912529838462c832b45.
Verified.