[Fix] Don't throw an error when no profile is specified.