Strip system properties as needed during CUD ops

update system property return logic

code review fixes

Address additional code review feedback

Fix bug in if statement, refactor added logic around

Add function documentation
Merge pull request #307 from phvannor/cud-system-properties

Strip system properties as needed during CUD ops