This is to avoid inconsistencies when dealing with paths inside an elements directory
mentioned in issue #453 (closed)