BUGFIX: files chain was adding not staged files.