Fixed: Unable to reload Apache when no domain has been created yet
(cherry picked from commit db29ad4)