Revert "fixes #1923"

This reverts commit 1849840aa3d967ea9b943d79a7b56860570fd28a.

Breaks git-annex