Fixed #22942 -- Noted that __init__.py files are required for management command detection.

Thanks Diego Cerdán for the suggestion.