Replicated not_if statement from install to also be applied on git checkouts