enter image description here
I am using the background_location package and I faced this problem
background_location: git: url: https://github.com/dharmik-dalwadi-seaflux/background_location.git ref: master
use this so that you can over come your problem