Support deployment in non-ROOT context