Fix typo in requeue build permissions check