Update BuildStatusController.php

Fix undefined variable