BZ-1049368: additional fix related to dot files - now they are created only if really needed