fix: apply patch to empty directory