Directory test based on wrong assumption is removed.