added fix in case no user or repo