return 400 instead of 500 on site extension install exceptions. Fixes #1411