Merge "jiri: Rename -remotebranch to -remote-branch for consistency."
diff --git a/profiles/profilesreader/reader.go b/profiles/profilesreader/reader.go
index a2355e7..7949cc7 100644
--- a/profiles/profilesreader/reader.go
+++ b/profiles/profilesreader/reader.go
@@ -212,7 +212,7 @@
 // the specified target installed taking account if running using profiles
 // at all or if using old-style profiles.
 func (rd *Reader) ValidateRequestedProfilesAndTarget(profileNames []string, target profiles.Target) error {
-	if ProfilesMode(rd.profilesMode) == SkipProfiles {
+	if rd.SkippingProfiles() {
 		return nil
 	}
 	for _, n := range profileNames {