Throw BadRequestException if project input name does not match URL name

Throwing a RestApiException is inconsistent with all the other cases
where BadRequestException is thrown when input value does not match the
URL value.

Change it to be consistent.

Change-Id: I1fa37910c3fc3693cbdde59778e5e1454d3d2d51
1 file changed