[BUGFIX] BackendCnfigurationManager retrieves wrong pageId

If given an empty array, the function getPageIdFromRecord casts
TRUE to (int) 1 resulting in configuration not loading in
BE/CLI context.

Fixes #705