Properly catch exceptions if jenkins is offline.
@guite I just discovered that I forgot to catch the SourceNotAvailable exception :D