Change get_user_repositories method to use __get private method