Fix logic error when refreshing elpa package lists.