Add .gitkeep only in directories that would be empty otherwise