Fixed issue when loaddata was called even when there was no fixtures.

This caused repeated message "No database fixture specified. Please provide the path of at least one fixture in the command line." during running tests.