[MANTTASKS-192] display an explicit error message when using a remote repository with a refid which has not been defined instead of NPE