You are wrong, see [UrlUtils.appendToBaseURL](https://github.com/aerogear/aerogear-android/blob/master/src/org/jboss/aerogear/android/impl/util/UrlUtils.java#L40)

btw, /rest/registry/device makes more sense to read