fix pack-remaining feature

while looking for recently changed files, the script would always
find its own lock file and thus not create a archive. This is
fixed by this patch.