Fix/Workaround for git with empty directories.