OPAL-2580 - Silently close modal when invalid package GIT info is supplied

Installing an invalid package in R server does not return any error. 'devtools' on the other hand throws an exception and not handling it was causing the frozen modal.