Update bootstrap.php

$entity was not declared.