Handle an empty migrations directory better throughout.