pylib: return an error if bootaction does not exists

when remove a bootaction if it does not exists return an error