Fix a few things.
Make sure that we have scanned classes.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
Make sure that we have classes to scan.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>