Vip restricted commands check fixes

Couple of simple fixes for VIPRestrictedCommands[Check|Test], required for the migration to PHP-Parser.
`$checks` seems a pretty generic name, since we know those will always be classes.