Fix getPolicy method

Jira-issue: WP-1254
Fix indentation

Jira-issue: WP-1254
Merge pull request #18 from ccameroni/WP-1254-adapt-getPolicy

WP-1254 adapt get policy