Fixed minor crash on getting display repository