Fixes #6101 - lfenv conditional resolv prior

lifecycle-environment command update/create should only conditionaly
resolve for prior if option is given.